package com.contact_book.entity;

public class Address {

    private String city;
    private String street;
    private String houseNumber;
    private String officeNumber;

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city.trim();
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street.trim();
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber.trim();
    }

    public String getOfficeNumber() {
        return officeNumber;
    }

    public void setOfficeNumber(String officeNumber) {
        this.officeNumber = officeNumber.trim();
    }

    public String toString() {
        return city + "#" + street + "#" + houseNumber + "#" + officeNumber;

    }
}
